package com.itheima.shuzu;

public class Demo2 {
    public static void main(String[] args) {
        int[] a = new int[12];
        int[] b = new int[]{1, 2, 3, 4, 5, 6, 7, 8};
        for (int i = 0; i < a.length; i++) {
            System.out.print(a[i] + "--");
        }
        System.out.println();
        for (int i = 0; i < b.length; i++) {
            System.out.print(b[i] + "--");
        }
        System.out.println();
        int[] c = a;
        int[] d = b;
        for (int i = 0; i < c.length; i++) {
            System.out.print(c[i] + "--");
        }
        System.out.println();
        for (int i = 0; i < d.length; i++) {
            System.out.print(d[i] + "--");
        }
    }
}
